package ex_class;

public class Statistics {
	static int[] info;
	double ratio = 1.5;
	static {
		info = new int[10];
		info[0] = 1415;
		info[1] = 9265;
		info[2] = 3589;
	}
	
	static int getAverage() {
		int sum = 0;
		for (int i : info) {
			sum += i;
		}
		//sum *= ratio;
		//System.out.println(this.ratio);
		return sum/info.length;
	}
	
	double getSomeValue(double input) {
		//System.out.println(this.ratio);
		return input * ratio * getAverage();
	}
}
